package cn.auction.dao;

import cn.auction.entity.AuctionUser;

public interface AuctionUserDao {
    //用户登录，参数为用户名，密码，是否为管理员或竞拍者
    AuctionUser selectUser(String UserName, String UserPwd, boolean flag) throws Exception;

    //注册用户
    void insert(AuctionUser auctionUser) throws Exception;

    //根据指定用户编号查找用户
    AuctionUser findById(Long userId) throws Exception;
}
